//import com.com.atstudy.pk.Worker;
//import com.com.atstudy.pk.Student;

import com.atstudy.pk.*;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2022/12/15 14:29
 * @copyright: 博为峰
 */
public class Test03 {
    public static void main(String[] args) {
        //全路径名
//        com.com.atstudy.pk.Worker worker = new com.com.atstudy.pk.Worker();
//        com.com.atstudy.pk.Student student = new com.com.atstudy.pk.Student();

        Worker worker = new Worker();
        //pulbic
        System.out.println(worker.name);
//        salary(protected), age(缺省)
//        System.out.println(worker.salary);
//        System.out.println(worker.age);

        Student student = new Student();
    }
}
